package ws.performancetest.tests.samples;

import ws.performancetest.api.AbstractTestSuite;
import ws.performancetest.api.annotation.Ignore;
import ws.performancetest.api.annotation.PerformanceTest;
import ws.performancetest.api.exception.TestSuiteSetupException;

/**
 *
 * @author Wilson Santos, 36228 <wilson.santos@ua.pt>
 */
public class TestExample1 extends AbstractTestSuite {

  public TestExample1() throws TestSuiteSetupException {
  }

  @PerformanceTest
  public void test1() {
    System.out.println(getClass().getSimpleName() + ": test1");
  }

  @PerformanceTest
  public void test2() {
    System.out.println(getClass().getSimpleName() + ": test2");
  }

  @Ignore
  @PerformanceTest
  public void test3() {
    System.out.println(getClass().getSimpleName() + ": test3");
  }

  public void nontest() {
    System.out.println(getClass().getSimpleName() + ": non test");
  }

  @Override
  public String toString() {
    return "TestExample1";
  }
}
